﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AC9 RID: 2761
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MarkItemCsReq : IMessage<MarkItemCsReq>, IMessage, IEquatable<MarkItemCsReq>, IDeepCloneable<MarkItemCsReq>, IBufferMessage
	{
		// Token: 0x170022D6 RID: 8918
		// (get) Token: 0x06007B85 RID: 31621 RVA: 0x00149D68 File Offset: 0x00147F68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MarkItemCsReq> Parser
		{
			get
			{
				return MarkItemCsReq._parser;
			}
		}

		// Token: 0x170022D7 RID: 8919
		// (get) Token: 0x06007B86 RID: 31622 RVA: 0x00149D6F File Offset: 0x00147F6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MarkItemCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170022D8 RID: 8920
		// (get) Token: 0x06007B87 RID: 31623 RVA: 0x00149D81 File Offset: 0x00147F81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MarkItemCsReq.Descriptor;
			}
		}

		// Token: 0x06007B88 RID: 31624 RVA: 0x00149D88 File Offset: 0x00147F88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MarkItemCsReq()
		{
		}

		// Token: 0x06007B89 RID: 31625 RVA: 0x00149D90 File Offset: 0x00147F90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MarkItemCsReq(MarkItemCsReq other) : this()
		{
			this.pLGKLGBMBGH_ = other.pLGKLGBMBGH_;
			this.itemId_ = other.itemId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007B8A RID: 31626 RVA: 0x00149DC1 File Offset: 0x00147FC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MarkItemCsReq Clone()
		{
			return new MarkItemCsReq(this);
		}

		// Token: 0x170022D9 RID: 8921
		// (get) Token: 0x06007B8B RID: 31627 RVA: 0x00149DC9 File Offset: 0x00147FC9
		// (set) Token: 0x06007B8C RID: 31628 RVA: 0x00149DD1 File Offset: 0x00147FD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool PLGKLGBMBGH
		{
			get
			{
				return this.pLGKLGBMBGH_;
			}
			set
			{
				this.pLGKLGBMBGH_ = value;
			}
		}

		// Token: 0x170022DA RID: 8922
		// (get) Token: 0x06007B8D RID: 31629 RVA: 0x00149DDA File Offset: 0x00147FDA
		// (set) Token: 0x06007B8E RID: 31630 RVA: 0x00149DE2 File Offset: 0x00147FE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ItemId
		{
			get
			{
				return this.itemId_;
			}
			set
			{
				this.itemId_ = value;
			}
		}

		// Token: 0x06007B8F RID: 31631 RVA: 0x00149DEB File Offset: 0x00147FEB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MarkItemCsReq);
		}

		// Token: 0x06007B90 RID: 31632 RVA: 0x00149DF9 File Offset: 0x00147FF9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MarkItemCsReq other)
		{
			return other != null && (other == this || (this.PLGKLGBMBGH == other.PLGKLGBMBGH && this.ItemId == other.ItemId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007B91 RID: 31633 RVA: 0x00149E38 File Offset: 0x00148038
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PLGKLGBMBGH)
			{
				num ^= this.PLGKLGBMBGH.GetHashCode();
			}
			if (this.ItemId != 0U)
			{
				num ^= this.ItemId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007B92 RID: 31634 RVA: 0x00149E90 File Offset: 0x00148090
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007B93 RID: 31635 RVA: 0x00149E98 File Offset: 0x00148098
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007B94 RID: 31636 RVA: 0x00149EA4 File Offset: 0x001480A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PLGKLGBMBGH)
			{
				output.WriteRawTag(88);
				output.WriteBool(this.PLGKLGBMBGH);
			}
			if (this.ItemId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.ItemId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007B95 RID: 31637 RVA: 0x00149F00 File Offset: 0x00148100
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PLGKLGBMBGH)
			{
				num += 2;
			}
			if (this.ItemId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ItemId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007B96 RID: 31638 RVA: 0x00149F4C File Offset: 0x0014814C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MarkItemCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PLGKLGBMBGH)
			{
				this.PLGKLGBMBGH = other.PLGKLGBMBGH;
			}
			if (other.ItemId != 0U)
			{
				this.ItemId = other.ItemId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007B97 RID: 31639 RVA: 0x00149F9C File Offset: 0x0014819C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007B98 RID: 31640 RVA: 0x00149FA8 File Offset: 0x001481A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					if (num != 104U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.ItemId = input.ReadUInt32();
					}
				}
				else
				{
					this.PLGKLGBMBGH = input.ReadBool();
				}
			}
		}

		// Token: 0x04002F32 RID: 12082
		private static readonly MessageParser<MarkItemCsReq> _parser = new MessageParser<MarkItemCsReq>(() => new MarkItemCsReq());

		// Token: 0x04002F33 RID: 12083
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002F34 RID: 12084
		public const int PLGKLGBMBGHFieldNumber = 11;

		// Token: 0x04002F35 RID: 12085
		private bool pLGKLGBMBGH_;

		// Token: 0x04002F36 RID: 12086
		public const int ItemIdFieldNumber = 13;

		// Token: 0x04002F37 RID: 12087
		private uint itemId_;
	}
}
